<template>
  <div class="refresh" v-if="requestCatch">
    <div class="refresh_bg point" @click="refresh"></div>
    <div class="refresh_text point" @click="refresh">点击重试</div>
  </div>
</template>

<script>
export default {
  props: ['requestCatch'],
  name: 'refresh',
  methods: {
    // 刷新
    refresh () {
      // this.$emit('init')
    }
  }
}
</script>

<style scoped></style>
